package tests

import database.ConnectionPool
import database.DatabaseAccountBuilder


class ConnectionPoolTest {
    companion object {
        @JvmStatic
        fun main(args: Array<String>) {
            val account = DatabaseAccountBuilder.build("config/database.json")
            val connectionPool = ConnectionPool(account, 10)
            val connection = connectionPool.getConnection()
            println(connection)
        }
    }
}